cmake_minimum_required(VERSION 3.0)
project(QuatOps)

# 为使用 sophus，需要使用find_package命令找到它
find_package(Sophus REQUIRED)

# Eigen
include_directories(
    ${CMAKE_CURRENT_SOURCE_DIR}/src
    "/usr/include/eigen3"
)
add_executable(useSophus useSophus.cpp)
target_link_libraries(useSophus Sophus::Sophus)

add_executable(useQuat useQuat.cpp)
target_link_libraries(useQuat Sophus::Sophus)

add_executable(test test.cpp)
target_link_libraries(test Sophus::Sophus)
